package com.dc.model;

import java.util.Date;

public class LoginLog {
    // 登录日志id
    private Integer loginlog_id;
    // 当前登录用户id
    private Integer user_id;
    // 当前登录账号
    private String user_account;
    // 密码
    private String user_password;
    // 用户名
    private String user_name;
    // 登录时间
    private Date login_time;
    // 登出时间
    private Date loginout_time;
    // 乐观锁
    private Integer version;

    public Integer getLoginlog_id() {
        return loginlog_id;
    }

    public void setLoginlog_id(Integer loginlog_id) {
        this.loginlog_id = loginlog_id;
    }

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public String getUser_account() {
        return user_account;
    }

    public void setUser_account(String user_account) {
        this.user_account = user_account;
    }

    public String getUser_password() {
        return user_password;
    }

    public void setUser_password(String user_password) {
        this.user_password = user_password;
    }

    public String getUser_name() {
        return user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    public Date getLogin_time() {
        return login_time;
    }

    public void setLogin_time(Date login_time) {
        this.login_time = login_time;
    }

    public Date getLoginout_time() {
        return loginout_time;
    }

    public void setLoginout_time(Date loginout_time) {
        this.loginout_time = loginout_time;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("LoginLog{");
        sb.append("loginlog_id=").append(loginlog_id);
        sb.append(", user_id=").append(user_id);
        sb.append(", user_account='").append(user_account).append('\'');
        sb.append(", user_password='").append(user_password).append('\'');
        sb.append(", user_name='").append(user_name).append('\'');
        sb.append(", login_time=").append(login_time);
        sb.append(", loginout_time=").append(loginout_time);
        sb.append(", version='").append(version).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
